<?php
/* @var $this EmailTemplatesController */
/* @var $model EmailTemplates */

$this->breadcrumbs=array(
	'综合控制台'=>array($this->pre_module_url.'/index/index'),
	'客户服务'=>array($this->pre_module_url.'/cmpdeposit/admin'),
	'邮件模板'=>array($this->pre_module_url.'/emailTemplates/admin'),
	'发送邮件'
);

?>

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'email-templates-form',
	'enableAjaxValidation'=>false,
)); ?>
	<?php foreach($members as $val){?>
	  <?php echo CHtml::hiddenField('zm_id[]',$val->zm_id)?>  
	<?php }?>
	<ul class="form_list form_list2 mt10">
		<li class="title"><span class="fs_14 fw_b">发送邮件</span></li>
		<li class="c_f"><span class="tit">选择邮件模板：</span>
			<div class="cont f_l">
				<?php echo CHtml::dropDownList('zeee_id','',EmailTemplates::model()->getTemplateData(),array('class'=>'s_ipt w_170'))?>
			</div>
		</li>
		<li class="c_f"><span class="tit">选择收件人：</span>
			<div class="cont f_l">
				<textarea class="t_area" name="" style=" width:700px; height:240px;"><?php foreach($members as $val){?>  <?php echo $val->zm_name?>  <?php }?></textarea>
			</div>
		</li> 
		<li class="c_f"><span class="tit">&nbsp;</span>
			<div class="cont f_l">
				<?php echo CHtml::submitButton(Yii::t('adm','Save Date'),array('class'=>'mem_btn mem_btn20 mr5'))?>
			</div>
		</li>
	</ul>	
<?php $this->endWidget(); ?>            
